<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var count=0;
        for(var i=100; i<=200;i++){
            if(i%3==0 || i%7==0){
                document.write(i+'<br>');
                count++;
            }
        }
        console.log(count);
    </script>
</body>
</html>